package com.kedacom.ctsp.authz.access;

import com.kedacom.ctsp.authz.Authorize;
import com.kedacom.ctsp.authz.entity.AuthResource;
import com.kedacom.ctsp.authz.entity.Authentication;
import com.kedacom.ctsp.orm.param.Term;

import java.util.List;
import java.util.Set;

/**
 * @author sunchenjie
 * @date 2017/12/1 0001
 */
public interface CustomDataAccessHandler {

    Term createTerm(List<AuthResource> requiredResources, Authentication auth, Authorize anno);
}
